Package com.cisco.pt.ipc.sim.pdu.impl
Class NeighborMessageImpl
- All Implemented Interfaces:
IPCData,Header,ICMPv6Message,NdMessage,NeighborMessage,Pdu,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected IPV6AddressFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.NdMessageImpl
optionsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.ICMPv6MessageImpl
checksum, code, typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) booleanbooleanbooleanvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetIsOverride(boolean isOverride) voidsetIsRouter(boolean isRouter) voidsetIsSolicited(boolean isSolicited) voidsetTargetAddress(IPV6Address targetAddress) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.NdMessageImpl
getOptions, setOptionsMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.ICMPv6MessageImpl
getChecksum, getCode, getType, setChecksum, setCode, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.ICMPv6Message
getChecksum, getCode, getType, setChecksum, setCode, setTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.NdMessage
getOptions, setOptionsMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
isRouter
protected boolean isRouter -
isSolicited
protected boolean isSolicited -
isOverride
protected boolean isOverride -
targetAddress
-
-
Constructor Details
-
NeighborMessageImpl
public NeighborMessageImpl()
-
-
Method Details
-
getIsRouter
public boolean getIsRouter()- Specified by:
getIsRouterin interfaceNeighborMessage- Returns:
- boolean Returns a boolean
-
setIsRouter
public void setIsRouter(boolean isRouter) - Specified by:
setIsRouterin interfaceNeighborMessage- Parameters:
isRouter- Takes in a parameter of isRouter
-
getIsSolicited
public boolean getIsSolicited()- Specified by:
getIsSolicitedin interfaceNeighborMessage- Returns:
- boolean Returns a boolean
-
setIsSolicited
public void setIsSolicited(boolean isSolicited) - Specified by:
setIsSolicitedin interfaceNeighborMessage- Parameters:
isSolicited- Takes in a parameter of isSolicited
-
getIsOverride
public boolean getIsOverride()- Specified by:
getIsOverridein interfaceNeighborMessage- Returns:
- boolean Returns a boolean
-
setIsOverride
public void setIsOverride(boolean isOverride) - Specified by:
setIsOverridein interfaceNeighborMessage- Parameters:
isOverride- Takes in a parameter of isOverride
-
getTargetAddress
- Specified by:
getTargetAddressin interfaceNeighborMessage- Returns:
- IPV6Address Returns a IPV6Address
-
setTargetAddress
- Specified by:
setTargetAddressin interfaceNeighborMessage- Parameters:
targetAddress- Takes in a parameter of targetAddress
-
getFieldType
- Overrides:
getFieldTypein classNdMessageImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classNdMessageImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classNdMessageImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classNdMessageImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classNdMessageImpl
-